SpringBoot配置文件优先级规则
1.命令行参数(最高优先级)javajarapp.jarserver.port90002.Java系统属性javaDserver.port9000jarapp.jar3.操作系统环境变量4.配置文件优先级(从高到低)file:./config/applicationprofile.ymlfile:./config/application.ymlfile:./applicationprofile.ymlfile:./application.ymlclasspath:/config/applicationpro